/*
 * @Author: biankai
 * @Date: 2021-11-04 14:41:27
 * @LastEditTime: 2021-11-10 10:12:51
 * @LastEditors: biankai
 * @FilePath: /gitee/devops_service/src/services/jenkins/base.service.ts
 */

import * as path from 'path';
import * as jenkinsBuild from 'jenkins'
export class BaseService {

    protected readonly jenkinsObj: jenkinsBuild.JenkinsPromisifiedAPI;

    constructor() {
        this.jenkinsObj = jenkinsBuild({
            baseUrl: "http://admin:admin123@200.200.200.30:18080/",
            crumbIssuer: true,
            promisify: true
        })
    }
}
